package com.neusoft.elm.po;

public class Food {
	private Integer foodId;
	private String foodName;
	private String foodExplain;
	private Double foodPrice;
	private Integer businessId;//外键
	
	@Override
	//方便输出对象
	public String toString() {
		return "\n食品编号："+this.foodId+
				"\n食品名称："+this.foodName+
				"\n食品介绍："+this.foodExplain+
				"\n食品价格："+this.foodPrice+
				"\n所属商家："+this.businessId;
	}
	
	public Integer getFoodId() {
		return foodId;
	}
	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}
	public String getFoodName() {
		return foodName;
	}
	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}
	public String getFoodExplain() {
		return foodExplain;
	}
	public void setFoodExplain(String foodExplain) {
		this.foodExplain = foodExplain;
	}
	public Double getFoodPrice() {
		return foodPrice;
	}
	public void setFoodPrice(Double foodPrice) {
		this.foodPrice = foodPrice;
	}
	public Integer getBusinessId() {
		return businessId;
	}
	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}
}
